import Vue from 'vue'
import App from './App.vue'
import iView from 'iview'
import VueRouter from 'vue-router'
import {routes} from './routes'
import axios from 'axios'
import VueAxios from 'vue-axios'
import {store} from './store';
import 'iview/dist/styles/iview.css'

import VueQuillEditor from 'vue-quill-editor'
// require styles
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'


Vue.use(VueAxios, axios)

Vue.use(iView);
Vue.use(VueRouter);
Vue.use(VueQuillEditor);

const router = new VueRouter({
	routes:routes,
	mode:'history'
});

new Vue({
  el: '#app',
  router,
  store,
  render: h => h(App)
})
